<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@page import="crm.model.Product_service"%>
<%@page import="crm.control.ProductControl"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    
    <title>product_service_update.jsp</title>
    

  </head>
  
  <body>
   <%
       request.setCharacterEncoding("UTF-8");
       int id=Integer.parseInt(request.getParameter("id"));
       
       Product_service productService=new Product_service();
       productService=ProductControl.getProductServiceById(id);
       
       
    %>
   <form action="product_service_update_do.jsp?id=<%=id %>" method="post">
  <table>
  <tr><td>服务名称：<input type="text" name="product_service_name" value="<%=productService.getService_name() %>"/></td></tr>
  <tr><td>服务编号：<input type="text" name="product_service_number" value="<%=productService.getService_number() %>"/></td></tr>
  <tr><td>价格：          <input type="text" name="product_service_price" value="<%=productService.getPrice() %>"/></td></tr>
  <tr><td>创建时间：<input type="text" name="product_service_create_time" value="<%=productService.getCreate_time() %>" readonly/></td></tr>
  <tr><td>描述：          <input type="text" name="product_service_description" value="<%=productService.getDescription() %>"/></td></tr>
  <tr><td><input type="submit" value="提交" name="submit3"/>
          <input type="reset" value="重置" name="submit4"/></td></tr>
  </table>
  </form>
  </body>
</html>
